From e6f511d3c4a507aa968117ff257d1a42e8216505 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 6 May 2003 22:11:14 +0000 Subject: [PATCH] Shorten WPT line to make it less likely to trigger bug in Meridian flash file parsing in the firmware of the unit. --- gpsbabel/magproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/magproto.c b/gpsbabel/magproto.c index 9b89ace7b..ff2f6f085 100644 --- a/gpsbabel/magproto.c +++ b/gpsbabel/magproto.c @@ -1181,7 +1181,7 @@ mag_waypt_pr(const waypoint *waypointp) odesc = mag_cleanse(odesc); } - sprintf(obuf, "PMGNWPL,%4.3f,%c,%09.3f,%c,%07.lf,M,%-.8s,%-.30s,%s", + sprintf(obuf, "PMGNWPL,%4.3f,%c,%09.3f,%c,%.lf,M,%-.8s,%-.30s,%s", lat, ilat < 0 ? 'S' : 'N', lon, ilon < 0 ? 'W' : 'E', waypointp->position.altitude.altitude_meters == unknown_alt ? -- 2.30.2